<template>
    页面加载中，请稍后......
</template>

<script setup lang="ts">
import { useRouter, useRoute } from "vue-router";
const router = useRouter()
const route = useRoute()
const { params: { backpath } } = route  //获取查询数据参数
// 使用计时器进行返回
setTimeout(() => {
    router.replace(backpath as string)  //进行返回
}, 300);
</script>